<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<div id="navigation">
	<ul>
		<c:if test="${not loggedIn}">
			<li><a href="<%=request.getContextPath()%>/login">Inloggen</a></li>
		</c:if>
		<c:if test="${loggedIn}">
			<li><a href="<%=request.getContextPath()%>/logout">Uitloggen</a>
				als ${username}</li>
			<li><a href="<%=request.getContextPath()%>/history">Geschiedenis</a>
		</c:if>
		<li><a href="<%=request.getContextPath()%>/cart">Winkelmand</a></li>
	</ul>
	<br />
	<p>CATEGORI&Euml;N</p>
	<ul>
		<li><a href="<%=request.getContextPath()%>">Allen</a></li>
		<c:forEach var="category" items="${categories}">
			<li><a
				href="<%=request.getContextPath()%>/categorie/${category.id}">${category.name}</a></li>
		</c:forEach>
	</ul>
</div>